package com.wise.summer.v1.cms.content.homedecorate;

import com.wise.framework.annotations.ApiInfo;
import com.wise.framework.annotations.Publish;
import com.wise.framework.annotations.validation.NotNull;
import com.wise.framework.summer.BasicSummer;

import static com.wise.model.content.ContentErrMsgs.Err_000500000003;

@Publish
@ApiInfo("首页装修编辑")
public class UpdateHomeDecorate extends BasicSummer<String> {

    /**
     * content
     * 这个为草稿，由后台负责编辑，不会在前台显示，相当于一个草稿的作用
     * 前台点击保存，则保存为草稿
     */
    private String content;
    /**
     * state 0 or 1
     * 0 为 content
     * 1 为 publicContent
     */
    @NotNull(msg = Err_000500000003)
    private Integer state=0;
    /**
     * title
     */
    private String title;
    /**
     * module
     */
    private String module;
    /**
     * type
     */
    private String type;
    private String talk;

    @ApiInfo("seo_title")
    private String seoTitle;

    @ApiInfo("关键词描述")
    private String seoDescribe;

    @ApiInfo("head_title")
    private String headTitle;

    @ApiInfo("网页标题")
    private String pageTitle;

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getModule() {
        return module;
    }

    public void setModule(String module) {
        this.module = module;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getTalk() {
        return talk;
    }

    public void setTalk(String talk) {
        this.talk = talk;
    }

    public String getSeoTitle() {
        return seoTitle;
    }

    public void setSeoTitle(String seoTitle) {
        this.seoTitle = seoTitle;
    }

    public String getSeoDescribe() {
        return seoDescribe;
    }

    public void setSeoDescribe(String seoDescribe) {
        this.seoDescribe = seoDescribe;
    }

    public String getHeadTitle() {
        return headTitle;
    }

    public void setHeadTitle(String headTitle) {
        this.headTitle = headTitle;
    }

    public String getPageTitle() {
        return pageTitle;
    }

    public void setPageTitle(String pageTitle) {
        this.pageTitle = pageTitle;
    }
}
